home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
015a
/
wtil21.zip
/
WAITTIL.DOC
< prev
next >
Wrap
Text File
|
1991-12-05
|
5KB
|
126 lines
WaitTil
A utility to pause the execution of a batch file.
Copyright 1991 Bill Hewitt
All rights reserved.
SHAREWARE - See the included file "(C)_1991.DOC" for complete
copyright and warranty information.
INTRODUCTION
WaitTil pauses the execution of a batch file until a user-
specified time. The current time, time scheduled for
execution, and a user specified message is displayed on the
screen. The screen display moves every ten seconds to
prevent screen burn and as a "pacifier" so you know the
computer isn't hung.
NetWork support - WaitTil optionally writes to a work file
in a user-specified directory every ten seconds. Most
"wait" utilities cannot detect when a network connection is
lost until the program terminates and the batch file is
reread.
WaitTil may be aborted by pressing <F3>. If WaitTil
terminates normally, ERRORLEVEL is set to 0. If it is
aborted with the <F3> key, ERRORLEVEL is set to 1. Other
errors set ERRORLEVEL to 2.
TO USE WaitTil
Insert the following in your batch file at the point you
wish to pause execution.
WAITTIL hh:mm [message] [/N[:path]]
hh:mm the time to continue execution of the
batch file
message a message to be displayed while
execution is paused
:path the path to write the work file
(WAITTIL.$$$) to - /N is required for
this to have any purpose
/N enable network support - this causes a
time and date stamp to be written to a
work file (WAITTIL.$$$) in the directory
specified by [path]. If no path is
specified, the file will be created in
the current directory.
WaitTil
A utility to pause the execution of a batch file.
Copyright 1991 Bill Hewitt
All rights reserved.
NETWORK RIGHTS
If you enable network support (/N), be sure you have
read/write permission to the directory the work file.
WORK FILE
If WaitTil terminates normally, the work file is deleted.
If the server connection is lost or your station hangs, gets
turned off, etcetera, the file will contain the last time
and date the file was written to. If <F3> is pressed, the
file will remain and contain "Aborted by user hh:mm".
SUPPORT
If you are a registered user and encounter problems or have
questions or suggestions, you may write to me at one of the
addresses below or call me. If you call, please do not call
before noon or after midnight eastern time.
Bill Hewitt
7868 NW 7th Court
Plantation, FL 33324-1410
Voice: (305) 473-0938
GEnie: K.SUTTON4
Compu$erve:76675,3560
WaitTil
A utility to pause the execution of a batch file.
Copyright 1991 Bill Hewitt
All rights reserved.
VERSION NOTES
1.0 9/21/90 Original release.
2.0 11/26/91 Added network support.
Change from direct key scan to correct problem
aborting remotely using Carbon Copy.
Fix edit for valid time. Change highest valid
hour from 23 to 24.
2.1 12/04/91 Add DOS-like help with /? switch.
Change abort key from F1 to F3 for CUA compliance.